package com.store.satring.dos;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.springframework.format.annotation.DateTimeFormat;

public class GLReport {

	@Temporal(TemporalType.TIMESTAMP)
	@DateTimeFormat(style = "M-")
	private Date gLDateFrom;

	@Temporal(TemporalType.TIMESTAMP)
	@DateTimeFormat(style = "M-")
	private Date gLDateTo;

	private List<GeneralLedger> generalLedgers = new ArrayList<GeneralLedger>();

	private List<Invoice> invoices = new ArrayList<Invoice>();

	private List<Customer> customers = new ArrayList<Customer>();

	private Boolean showClearedGL;

	private Boolean showGLDetail;

	public Date getGLDateFrom() {
		return this.gLDateFrom;
	}

	public void setGLDateFrom(Date gLDateFrom) {
		this.gLDateFrom = gLDateFrom;
	}

	public Date getGLDateTo() {
		return this.gLDateTo;
	}

	public void setGLDateTo(Date gLDateTo) {
		this.gLDateTo = gLDateTo;
	}

	public List<GeneralLedger> getGeneralLedgers() {
		return generalLedgers;
	}

	public void setGeneralLedgers(List<GeneralLedger> generalLedgers) {
		this.generalLedgers = generalLedgers;
	}

	public List<Invoice> getInvoices() {
		return invoices;
	}

	public void setInvoices(List<Invoice> invoices) {
		this.invoices = invoices;
	}

	public List<Customer> getCustomers() {
		return customers;
	}

	public void setCustomers(List<Customer> customers) {
		this.customers = customers;
	}

	public Boolean getShowClearedGL() {
		return this.showClearedGL;
	}

	public void setShowClearedGL(Boolean showClearedGL) {
		this.showClearedGL = showClearedGL;
	}

	public Boolean getShowGLDetail() {
		return showGLDetail;
	}

	public void setShowGLDetail(Boolean showGLDetail) {
		this.showGLDetail = showGLDetail;
	}
}
